using FreeSql;
using FreeSql.DataAnnotations;

namespace CKS.Models
{
	/// <summary>
	/// 服务器配置表
	/// </summary>
	[Table(Name ="server_config")]
	public class ServerConfig
	{
		/// <summary>
		/// 序号
		/// </summary>
		public int id { get; set; }
		/// <summary>
		/// 产线代号
		/// </summary>
		public string production_line_code { get; set; }
		/// <summary>
		/// 上位机代号
		/// </summary>
		public string hmi_code { get; set; }
		/// <summary>
		/// 上位机名称
		/// </summary>
		public string hmi_name { get; set; }
		/// <summary>
		/// 上位机IP HmiIp 
		/// </summary>
		[Column(Name = "hmi_ip")]
        public string HmiIp { get; set; }
		/// <summary>
		/// 是否启用（软删除）
		/// </summary>
		public byte IsDeleted { get; set; }
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? creation_time { get; set; }
		/// <summary>
		/// 创建人
		/// </summary>
		public string creator_name { get; set; }
	}
}